15 微服务
微服务架构主要解决的是如何快速地开发和部署我们的服务
- Microservice Architecture ,说明了微服务的架构与传统架构的不同之处在于,微服务的每个服务与其数据库都是独立的,可以无依赖地进行部署。
- AWS 的理解 - What are Microservices?
- Microsoft 的理解 - Microservices architecture style。
- Pivotal 的理解 - Microservices。
微服务架构
- IBM 红皮书:Microservices Best Practices for Java ,通过 Spring Boot 和 Dropwizard 架建 Java 的微服务,还谈到了一些标准的架构模型,如服务注册、服务发现、API 网关、服务通讯、数据处理、应用安全、测试、部署、运维等
- 微服务设计,全面介绍了微服务的建模、集成、测试、部署和监控,通过一个虚构的公司讲解了如何建立微服务架构。主要内容包括认识微服务在保证系统设计与组织目标统一上的重要性,学会把服务集成到已有系统中,采用递增手段拆分单块大型应用,通过持续集成部署微服务,等等
- Introduction to Microservices
- Building Microservices: Using an API Gateway
- Building Microservices: Inter-Process Communication in a Microservices Architecture
- Service Discovery in a Microservices ArchitectureEvent-Driven Data Management for Microservices
- Choosing a Microservices Deployment Strategy
- Refactoring a Monolith into Microservices
- An Introduction to Microservices, Part 1
- API Gateway. An Introduction to Microservices, Part 2
- An Introduction to Microservices, Part 3: The Service Registry
- Intro to Microservices, Part 4: Dependencies and Data Sharing
- API Gateway: the Microservices Superglue
- Microservices With Spring Boot - Part 1 - Getting Started
- Microservices With Spring Boot - Part 2 - Creating a Forex Microservice
- Microservices With Spring Boot - Part 3 - Creating Currency Conversion Microservice
- Microservices With Spring Boot - Part 4 - Using Ribbon for Load Balancing
- Microservices With Spring Boot - Part 5 - Using Eureka Naming Server
- 前端:React.js 或 Vue.js。
- 后端:Go 语言 + 微服务工具集 Go kit
- 通讯:gRPC, Google 远程调用的一个框架
- API:Swagger ,一种 Restful API 的简单但强大的表示方式,标准的,语言无关
- 网关:Envoy 其包含了服务发现、负载均衡和熔断等特性,可以把 Envoy 通过 Ingress 集成进 Kubernetes,详见开源项目 contour
- 日志监控:fluentd + ELK
- 指标监控:Prometheus
- 调用跟踪:Jaeger 或是 Zipkin
- 自动化运维:Docker + Kubernetes
微服务和 SOA
- 《Microservices vs. Service-Oriented Architecture》 学习服务化架构的一些事实,还有基础的 SOA 和微服务的架构知识,以及两种架构的不同
- DZone: Microservices vs. SOA
- DZone: Microservices vs. SOA - Is There Any Difference at All?
- Microservices, SOA, and APIs: Friends or enemies?
- PaaS vs. IaaS for Microservices Architectures: Top 6 Differences
- Microservices vs. Monolithic Architectures: Pros, Cons, and How Cloud Foundry (PaaS) Can Help
- Microservices - Not A Free Lunch!
- The Hidden Costs Of Microservices